<?php

class ResourceClass
{
    public $remark = '';
    public $isActive = false;

    public function __call($name, $arguments)
    {
        printError('接口请求方式错误！');
    }

    //检查时间格式
    public function checkDateTimeFormat($dateTime)
    {
        if($dateTime == date('Y-m-d H:i:s',strtotime($dateTime))){
            return true;
        }else{
            return false;
        }
    }
}

?>